projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d13843e
)
reftests: Fix compilation
author
Benjamin Otte
<otte@redhat.com>
Mon, 25 Jun 2018 22:53:39 +0000
(
00:53
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Mon, 25 Jun 2018 22:53:39 +0000
(
00:53
+0200)
FOREIGN surfaces are gone.
testsuite/reftests/reftest-snapshot.c
patch
|
blob
|
history
diff --git
a/testsuite/reftests/reftest-snapshot.c
b/testsuite/reftests/reftest-snapshot.c
index 2640050dd87b8f82ec7b0f66808e5763aefe4f6b..b84d2f58328dacd80a3ec5f3dd6267f07052d409 100644
(file)
--- a/
testsuite/reftests/reftest-snapshot.c
+++ b/
testsuite/reftests/reftest-snapshot.c
@@
-108,8
+108,7
@@
snapshot_window_native (GdkSurface *window,
XWindowAttributes attrs;
if (gdk_surface_get_surface_type (window) == GDK_SURFACE_TOPLEVEL ||
- gdk_surface_get_surface_type (window) == GDK_SURFACE_TEMP ||
- gdk_surface_get_surface_type (window) == GDK_SURFACE_FOREIGN)
+ gdk_surface_get_surface_type (window) == GDK_SURFACE_TEMP)
{
/* give the WM/server some time to sync. They need it.
* Also, do use popups instead of toplevels in your tests